package com.nuaa.qianru.run;

import org.springframework.boot.CommandLineRunner;
import org.springframework.core.Ordered;
import org.springframework.stereotype.Component;

@Component
public class TemPre implements CommandLineRunner, Ordered {
    @Override
    public void run(String... args) throws Exception {
        Client client=new Client();
        client.start();
        Client1 client1=new Client1();
        client1.start();
        Client2 client2=new Client2();
        client2.start();
        Client3 client3=new Client3();
        client3.start();
    }

    @Override
    public int getOrder() {
        return 1;
    }
}
